#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QDebug>
#include <QtGui>
#include <QCheckBox>
#include "ui_Frm_main.h"
#include "../Builder/Builder.h"

/*!
	\brief Classe gérant l'IHM de l'UpBuilder
*/

class MainWindow : public QMainWindow, public Ui::MainWindow
{
    Q_OBJECT
public:
        MainWindow(QWidget *parent = 0);
	~MainWindow();
public slots:

private slots:
	void BuildFinished();

	void START_SearchPathUpdater();
	void START_SetUpdaterPath();
	void START_IgnorePath();
        void Set_Status_Msg(QString VCP_NewText, int VLP_TimeShowed = 5000);
        void EnableMsgBox(int VLP_NewStatus);
        void Liste_Show_Edit(bool VBP_NewState);
	void Liste_Edit_Apply();
        void EnableControls(bool VBP_SetValue);
	void LaunchGen();
        void ShowMsgError(QString VCP_Msg);
        void ShowMsg(QString VCP_Msg);
        void Showprogress(int VLP_Value, int VLP_ValueMax);
private:
        void connectland();
        Builder OXM_Generator;
        QString VCM_PathUpdater;
};
#endif

#ifdef CODE_SUPPRIME_A_LA_COMPILATION_NON_LISTER_DANS_CDC_V1_0_0
        QString VCM_PathXMLList;
        void BrowseXML();
        void ReadXML();
#endif
